package com.zut.entity;

import java.util.Date;

import javax.print.attribute.standard.DateTimeAtCompleted;

public class User {
	
	private int u_id;
	private String u_name;
	private String u_pase;
	private String u_realname;
	private String u_sex;
	private Role role = new Role();
	private String u_create_time;
	private int u_state;
	
	public User() {
		super();
	}
	public User(int u_id, String u_name, String u_pase, String u_realname, String u_sex, Role role,
			String u_create_time, int u_state) {
		super();
		this.u_id = u_id;
		this.u_name = u_name;
		this.u_pase = u_pase;
		this.u_realname = u_realname;
		this.u_sex = u_sex;
		this.role = role;
		this.u_create_time = u_create_time;
		this.u_state = u_state;
	}
	public int getU_id() {
		return u_id;
	}
	public void setU_id(int u_id) {
		this.u_id = u_id;
	}
	public String getU_name() {
		return u_name;
	}
	public void setU_name(String u_name) {
		this.u_name = u_name;
	}
	public String getU_pase() {
		return u_pase;
	}
	public void setU_pase(String u_pase) {
		this.u_pase = u_pase;
	}
	public String getU_realname() {
		return u_realname;
	}
	public void setU_realname(String u_realname) {
		this.u_realname = u_realname;
	}
	public String getU_sex() {
		return u_sex;
	}
	public void setU_sex(String u_sex) {
		this.u_sex = u_sex;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	public String getU_create_time() {
		return u_create_time;
	}
	public void setU_create_time(String u_create_time) {
		this.u_create_time = u_create_time;
	}
	public int getU_state() {
		return u_state;
	}
	public void setU_state(int u_state) {
		this.u_state = u_state;
	}
	@Override
	public String toString() {
		return "User [u_id=" + u_id + ", u_name=" + u_name + ", u_pase=" + u_pase + ", u_realname=" + u_realname
				+ ", u_sex=" + u_sex + ", role=" + role + ", u_create_time=" + u_create_time + ", u_state=" + u_state
				+ "]";
	}
	
	
	

}
